#pragma once
#include "mint/service/mlocator.h"

using namespace junyi::mint::wrapper;

namespace junyi
{
    namespace mint
    {
        namespace wrapper
        {
            class StartUp
            {
            public:
                StartUp();
                StartUp(const std::string &home);
                StartUp(const std::string &home, const std::string &config);
                ~StartUp();

                void load_master();

                void load_ledger();

                void load_trader();

                void load_market();

            private:
                const char* config_char;

                std::string config_string;

                std::shared_ptr<MLocator> ms_locator_ptr;
            };
        }
    }
}